package org.vshe.improve.spring.prospring3.ch6;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class SimpleAdvice implements MethodInterceptor{

	public SimpleAdvice() {
		super();
	}

	public Object invoke(MethodInvocation invocation) throws Throwable {
		System.out.println("<<<<INVOKING METHOD START");
		Object returnValue = invocation.proceed();
		System.out.println("<<<<INVOKING METHOD END");
		return returnValue;
	}
	
}
